{__NOLAYOUT__}
<layout name="layoutPC" />
<div class="container" ng-controller="msgSendController">
    <div class="row" style="margin-top:50px;">
        <div class="col-sm-12">
            <div class="message">
                <a class="dis-in-bl message-title-middle not-active" href="<{:U('Message/indexPC')}>" style="text-decoration: none;">
                    <span>用户留言</span>
                </a>

            </div>
            <div class="leaving-meaage" >
                <div class="chat-name">
                    与 <a href="<{:U('FetcherInfo/indexPC')}>?user_id=<{$publisher_id}>"><{$publisher_name}></a>的聊天
                </div>
                <textarea class="big-input form-control border-radius-0"  rows="4" ng-model="respond"></textarea>
                <div class="left-words-number" ng-class="{'wrong':error}">
                    {{tips}}
                </div>
                <div class="text-right" style="margin-top: 30px;margin-bottom: 20px">
                    <button class="btn-blue-line btn-lg" type="button"  style="width: 220px" ng-disabled="error" ng-click="submitMsg()">发送</button>
                </div>
                <p style="font-size: 18px;color: #A1A1A1;">
                    历史记录
                </p>
                <hr style="border-top:1px solid rgb(215,215,215);margin-top: 10px;margin-bottom: 10px"/>
                <div class="people-message-repeat" style="overflow:hidden;">
                    <div class="people-message" ng-repeat="message in msg">
                        <div class="people-message-header">
                            <img ng-src="__UPLOAD__/{{ message.image_url }}"/>
                        </div>
                        <div class="dateline" style="float: right">
                            {{getTimePast(message.time)}}
                        </div>
                        <div class="people-message-main-content">
                            <div style="overflow: hidden">
                                <a class="people-message-name" ng-bind="transferName(message.publisher_id)" href="<{:U('FetcherInfo/indexPC')}>?user_id={{message.publisher_id}}">
                                </a>
                            </div>
                            <p class="people-message-content">
                                {{ message.content }}
                            </p>
                        </div>
                    </div>
                </div>
                <input type="hidden" id="publisher-id" value="<{$publisher_id}>"/>
                <input type="hidden" id="publisher-name" value="<{$publisher_name}>"/>
                <input type="hidden" id="user-name" value="<{$Think.session.loginUser.user_name}>"/>

            </div>
        </div>
    </div>
</div>